package com.yequan.pojo;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @author yq
 * @date 2020/09/29
 */
public class ExeInfo implements Serializable {

    private String serviceName;

    private Integer caseId;

    private String calcType;

    private String exeName;

    private String wsTaskKey;

    private String logPath;

    private boolean logPrintable = true;

    private boolean logWritable = true;

    private List<String> command;

    private Map<String, String> paramMap;

    private String username;

    private Integer userId;

    public String getServiceName() {
        return serviceName;
    }

    public ExeInfo setServiceName(String serviceName) {
        this.serviceName = serviceName;
        return this;
    }

    public Integer getCaseId() {
        return caseId;
    }

    public ExeInfo setCaseId(Integer caseId) {
        this.caseId = caseId;
        return this;
    }

    public String getCalcType() {
        return calcType;
    }

    public ExeInfo setCalcType(String calcType) {
        this.calcType = calcType;
        return this;
    }

    public String getExeName() {
        return exeName;
    }

    public ExeInfo setExeName(String exeName) {
        this.exeName = exeName;
        return this;
    }

    public String getWsTaskKey() {
        return wsTaskKey;
    }

    public ExeInfo setWsTaskKey(String wsTaskKey) {
        this.wsTaskKey = wsTaskKey;
        return this;
    }

    public String getLogPath() {
        return logPath;
    }

    public ExeInfo setLogPath(String logPath) {
        this.logPath = logPath;
        return this;
    }

    public boolean isLogPrintable() {
        return logPrintable;
    }

    public void setLogPrintable(boolean logPrintable) {
        this.logPrintable = logPrintable;
    }

    public boolean isLogWritable() {
        return logWritable;
    }

    public ExeInfo setLogWritable(boolean logWritable) {
        this.logWritable = logWritable;
        return this;
    }

    public List<String> getCommand() {
        return command;
    }

    public ExeInfo setCommand(List<String> command) {
        this.command = command;
        return this;
    }

    public Map<String, String> getParamMap() {
        return paramMap;
    }

    public ExeInfo setParamMap(Map<String, String> paramMap) {
        this.paramMap = paramMap;
        return this;
    }

    public String getUsername() {
        return username;
    }

    public ExeInfo setUsername(String username) {
        this.username = username;
        return this;
    }

    public Integer getUserId() {
        return userId;
    }

    public ExeInfo setUserId(Integer userId) {
        this.userId = userId;
        return this;
    }
}
